<?php
class AppHelper extends Helper {
	
	function url($url = null, $full = false) {

		if(!isset($url['language'])){

			if(isset($this->params['language'])){
				$url['language'] = $this->params['language'];
			}else{
				$url['language'] = Configure::read('Config.language');
			}
		}	
		return parent::url($url, $full);
	}
}